home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
vol6n14.arc
/
INSTALL.BAS
< prev
next >
Wrap
BASIC Source File
|
1987-04-30
|
3KB
|
52 lines
100 REM -- BASIC PROGRAM TO CREATE INSTALL.COM
110 OPEN "INSTALL.COM" AS #1 LEN = 1
120 FIELD #1,1 AS A$
130 CHECKSUM = 0
140 FOR I = 1 TO 27
150 LINESUM = 0
160 FOR J = 1 TO 8
170 READ BYTE
180 CHECKSUM = CHECKSUM + BYTE
190 LINESUM = LINESUM + BYTE
200 IF (BYTE < 256) THEN LSET A$ = CHR$(BYTE)
210 PUT #1
220 NEXT J
230 READ LINECHECK
240 IF LINECHECK <> LINESUM THEN PRINT "Error in Line";280 + 10 * I
241 IF I <> 1 GOTO 250
242 LSET A$ = CHR$(0)
243 FOR K = 1 TO 1152
244 PUT #1
245 NEXT K
250 NEXT I
260 CLOSE
270 IF CHECKSUM = 19990 THEN PRINT "Successful Completion!" : END
280 PRINT "COM file is not valid!" : END
290 DATA 233, 224, 4, 0, 0, 0, 0, 0, 461
300 DATA 0, 0, 13, 10, 78, 111, 32, 114, 358
310 DATA 111, 111, 109, 32, 102, 111, 114, 32, 722
320 DATA 109, 111, 114, 101, 13, 10, 36, 67, 561
330 DATA 111, 112, 121, 114, 105, 103, 104, 116, 886
340 DATA 32, 49, 57, 56, 55, 32, 90, 105, 476
350 DATA 102, 102, 45, 68, 97, 118, 105, 115, 752
360 DATA 32, 80, 117, 98, 108, 105, 115, 104, 759
370 DATA 105, 110, 103, 32, 67, 111, 46, 74, 648
380 DATA 101, 102, 102, 32, 80, 114, 111, 115, 757
390 DATA 105, 115, 101, 251, 128, 252, 68, 116, 1136
400 DATA 5, 46, 255, 46, 134, 5, 14, 7, 512
410 DATA 254, 207, 207, 180, 68, 50, 255, 205, 1426
420 DATA 26, 128, 255, 255, 116, 5, 198, 6, 989
430 DATA 133, 5, 1, 191, 3, 1, 38, 131, 503
440 DATA 61, 32, 114, 9, 180, 9, 141, 22, 568
450 DATA 138, 5, 205, 33, 195, 38, 139, 5, 758
460 DATA 38, 255, 5, 177, 2, 211, 224, 5, 917
470 DATA 5, 1, 139, 248, 38, 140, 13, 46, 630
480 DATA 161, 44, 0, 38, 137, 69, 2, 30, 481
490 DATA 51, 192, 142, 216, 51, 246, 14, 7, 919
500 DATA 141, 62, 133, 1, 185, 0, 2, 252, 776
510 DATA 250, 243, 165, 251, 31, 128, 62, 133, 1263
520 DATA 5, 0, 116, 21, 184, 26, 53, 205, 610
530 DATA 33, 137, 30, 134, 5, 140, 6, 136, 621
540 DATA 5, 180, 37, 141, 22, 211, 5, 205, 806
550 DATA 33, 186, 227, 5, 205, 39, 0, 0, 695